﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="StudentUsageReport.aspx.cs" Inherits="AdministrationWeb.StudentUsageReport" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxToolkit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript">
        function CheckDateEalier(sender, args) {
            if (sender._selectedDate < new Date()) {
                alert("You cannot select a day before today!");
                sender._selectedDate = new Date();
                // set the date back to the today
                sender._textbox.set_Value(sender._selectedDate.format(sender._format))
            }
        }
        function DisplayDateToday(sender, args) {
            if (sender._selectedDate == null) {
                sender._selectedDate = new Date();
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="headerText" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<p align="center" style="font-size: x-large"><b>Student Usage Report</b></p>
    <b />
    <table class="style1">
        <tr align="left">
            <td class="style2">
                Date Range:</td>
            <td class="style5">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" align="right">
                START</td>
            <td class="style5">
               <form id="form2" action="StudentUsageReport.aspx">
               <asp:TextBox runat="server" ID="tbxStart" />
                <ajaxtoolkit:calendarextender runat="server" ID="Calendarextender2" TargetControlID="tbxStart"/>
                <AjaxToolkit:ToolkitScriptManager runat="server" ID="ToolkitScriptManager2"/>
                </form>
                </td>
            <td class="style4" align=right>
                END</td>
            <td>
                <form id="form1" action="StudentUsageReport.aspx">
               <asp:TextBox runat="server" ID="tbxEnd" />
                <ajaxtoolkit:calendarextender runat="server" ID="Calendarextender1" TargetControlID="tbxEnd"/>
                </form>
                </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style5" >
                &nbsp;</td>
            <td class="style4" align=right>
                <asp:Button ID="btnRun" runat="server" Text="RUN" Height="30px" Width="55px"/></td>
            <td>
                &nbsp;<asp:Button ID="btnExport" runat="server" Text="EXPORT" 
                    Height="30px" /></td>
        </tr>
        <tr>
            <td class="style2">
                Group by:</td>
            <td class="style5">
                <asp:DropDownList ID="DropDownList1" runat="server">
                </asp:DropDownList>
            </td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                Results:</td>
            <td class="style5">
                &nbsp;</td>
            <td class="style4">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </b>
</asp:Content>
